﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sabnzbd
{
    public class szdConfig
    {
        private int m_Version;
        private szdEmail m_Email;
        private int m_RSSRefreshRate;
        private string m_CompleteDir;
        private string m_TVSortString;
        private List<szdFeed> m_Feeds;

        public List<szdFeed> Feeds
        {
            get { return m_Feeds; }
            set { m_Feeds = value; }
        }

        public szdConfig()
        {
            m_Email = new szdEmail();
            m_Feeds = new List<szdFeed>();
            m_Categories = new List<szdCategory>();
        }

        public string TVSortString
        {
            get { return m_TVSortString; }
            set { m_TVSortString = value; }
        }

        public string CompleteDir
        {
            get { return m_CompleteDir; }
            set { m_CompleteDir = value; }
        }

        public int RSSRefreshRate
        {
            get { return m_RSSRefreshRate; }
            set { m_RSSRefreshRate = value; }
        }

        public szdEmail Email
        {
            get { return m_Email; }
            set { m_Email = value; }
        }
        
        public int Version
        {
            get { return m_Version; }
            set { m_Version = value; }
        }

        private List<szdCategory> m_Categories;

        public List<szdCategory> Categories
        {
            get { return m_Categories; }
            set { m_Categories = value; }
        }

        private bool m_EnableTVSorting;

        public bool EnableTVSorting
        {
            get { return m_EnableTVSorting; }
            set { m_EnableTVSorting = value; }
        }
    }
}
